package com.topscore.uke.mvp.contractors;

import com.topscore.uke.entities.ActivitiesDetailBean;
import com.topscore.uke.mvp.model.BaseHttpListener;
import com.topscore.uke.mvp.views.BaseView;
import com.topscore.uke.network.BaseResponse;
import com.topscore.uke.network.retrofit.ApiService;
import com.topscore.uke.network.retrofit.NetClient;

public interface GetActivitiesNewsDetailContractor {
    interface Model{
        ApiService mService = NetClient.getInstance().net().create(ApiService.class);
        void getData(String loginName,String titleCode);
        interface CallBack extends BaseHttpListener{
            void onSuccess(BaseResponse<ActivitiesDetailBean> response);
        }
    }

    interface View extends BaseView{
        void onGetDataSuccess(ActivitiesDetailBean detailBean);
    }

    interface Presenter{
        void getNewsData(String titleCode);
    }
}
